package duixiang;

public class DuiXiang {
	public boolean agency(Person a,Person b){
		boolean flag = false;
		if (a.adult == b.adult&&a.married == b.married &&a.gender!=b.gender){
			flag = true;
		}
		return flag;
		}
	}

